package com.cmc.cloud.cmclink.doc.vo.bookingrequestconfigvo;

import lombok.*;

import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 装船要求用箱要求订舱要求选项配置分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 装船要求用箱要求订舱要求选项配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class BookingRequestConfigPageReqVO extends PageParam {

    @Schema(description = "要求类型代码")
    private String requestTypeCode;

    @Schema(description = "要求代码")
    private String requestCode;

    @Schema(description = "要求英文描述")
    private String requestDescEn;

    @Schema(description = "要求中文描述")
    private String requestDescCn;

    @Schema(description = "关键词")
    private String keyWord;

    @Schema(description = "排序号")
    private Integer sortNo;

    @Schema(description = "禁启用状态")
    private Boolean enable;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
